package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.DiscountCategory;

/**
 *
 * DiscountCategory 表数据服务层接口
 *
 */
public interface IDiscountCategoryService extends ISuperService<DiscountCategory,Long> {


    Page<DiscountCategory> findDiscountCategory(int pageNo, int pageSize);

    void delCategory(Long discountCategoryId);

    void saveOrUpdateCategory(Long discountCategoryId, String name);

    String findCategoryNameByCategoryId(Long categoryId);
}